from django.db import models

class Reference(models.Model):
    title = models.CharField(max_length=128)
    url = models.URLField()
    description = models.TextField()

    class Meta:
	app_label = "simcat"

class Algorithm(models.Model):
    name = models.CharField(max_length=128)
    description = models.TextField()
    reference = models.ManyToManyField(Reference, null=True)

    class Meta:
	app_label = "simcat"

